package com.jetsum.micro.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jetsum.api.entity.Repo;
import com.jetsum.api.service.RepoService;
import com.jetsum.micro.mapper.RepoMapper;
import org.apache.dubbo.config.annotation.Service;

@Service
public class RepoServiceImpl extends ServiceImpl<RepoMapper, Repo> implements RepoService<Repo> {

    @Override
    public boolean adjust(Repo repo) {
        int a = 1 / repo.getCount();
        this.updateById(repo);
        return true;
    }
}
